package com.jt.www.common.service;

import com.jt.www.domain.dto.UserBranchAndProvCode;
import com.jt.www.model.reps.GenericDataResponse;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;

/**
 * Created by shaoyn on 2020/02/16.
 */
@Service
public interface CommonService {
    /**
     * 得到下一个整点
     *
     * @return
     */
    String nextHourTime();

    /**
     * 通过用户及分支机构名称模糊查询分支机构列表
     *
     * @param findCode
     * @param userCode
     * @param branchName
     * @return
     */
    ResponseEntity<GenericDataResponse<UserBranchAndProvCode>> getBranchList(String findCode, String userCode, String branchName);
}
